text/template/parse.item.pos (field)

26 uses

	text/template/parse (current package)
		lex.go#L17: 	pos  Pos      // The starting position, in bytes, of this item in the input string.
		parse.go#L313: 	t.Root = t.newList(t.peek().pos)
		parse.go#L364: 	list = t.newList(t.peekNonSpace().pos)
		parse.go#L383: 		return t.newText(token.pos, token.val)
		parse.go#L389: 		return t.newComment(token.pos, token.val)
		parse.go#L412: 		return t.breakControl(token.pos, token.line)
		parse.go#L414: 		return t.continueControl(token.pos, token.line)
		parse.go#L431: 	return t.newAction(token.pos, token.line, t.pipeline("command", itemRightDelim))
		parse.go#L469: 	pipe = t.newPipeline(token.pos, token.line, nil)
		parse.go#L484: 			pipe.Decl = append(pipe.Decl, t.newVariable(v.pos, v.val))
		parse.go#L488: 			pipe.Decl = append(pipe.Decl, t.newVariable(v.pos, v.val))
		parse.go#L616: 	return t.newEnd(t.expect(itemRightDelim, "end").pos)
		parse.go#L630: 		return t.newElse(peek.pos, peek.line)
		parse.go#L633: 	return t.newElse(token.pos, token.line)
		parse.go#L663: 	return t.newTemplate(token.pos, token.line, name, pipe)
		parse.go#L682: 	return t.newTemplate(token.pos, token.line, name, pipe)
		parse.go#L706: 	cmd := t.newCommand(t.peekNonSpace().pos)
		parse.go#L744: 		chain := t.newChain(t.peek().pos, node)
		parse.go#L785: 		return NewIdentifier(token.val).SetTree(t).SetPos(token.pos)
		parse.go#L787: 		return t.newDot(token.pos)
		parse.go#L789: 		return t.newNil(token.pos)
		parse.go#L791: 		return t.useVar(token.pos, token.val)
		parse.go#L793: 		return t.newField(token.pos, token.val)
		parse.go#L795: 		return t.newBool(token.pos, token.val == "true")
		parse.go#L797: 		number, err := t.newNumber(token.pos, token.val, token.typ)
		parse.go#L814: 		return t.newString(token.pos, token.val, s)